package rim;

import datatypes.r2.basic.CD;
import datatypes.r2.basic.SC;
import datatypes.r2.quantities.TS;

/**
 * Definition of Device:
 * 
 * A ManufacturedMaterial used in an activity without being substantially
 * changed through that activity.
 * 
 * 一个ManufacturedMaterial在活动中使用，通过这一活动，没有被大幅改变。
 * 
 * 
 * UsageNotes:
 * 
 * This includes durable (reusable) medical equipment as well as disposable
 * equipment. The kind of device is identified by the code attribute inherited
 * from Entity.
 * 
 * 这包括耐用（可重复使用）医疗设备以及一次性的设备。从实体继承属性代码标识的设备类型。
 * 
 * 
 * @author Obama
 * 
 */
public class Device extends ManufacturedMaterial {
	/**
	 * Definition: The human designated moniker for a device, assigned by the
	 * manufacturer.
	 * 
	 * 人类的绰号设备，由制造商分配。
	 * 
	 * 
	 * Examples:
	 * 
	 * Perkin Elmer 400 Inductively Coupled Plasma Unit
	 * 
	 * Perkin Elmer公司400电感耦合等离子体单位
	 */
	private SC manufacturerModelName;
	/**
	 * Definition: The moniker, version and release of the software that
	 * operates the device as assigned by the software manufacturer or
	 * developer.
	 * 
	 * 的绰号，版本和操作设备的软件，由软件制造商或开发商指派的释放。
	 * 
	 * 
	 * Examples:
	 * 
	 * Agilent Technologies Chemstation A.08.xx
	 * 
	 * 安捷伦化学工作站A.08.xx
	 */
	private SC softwareName;
	/**
	 * Definition: The state of control of the device.
	 * 
	 * 控制设备的状态。
	 * 
	 * 
	 * Rationale:
	 * 
	 * A device can either work autonomously or it can be controlled by another
	 * system. The control status of a device must be communicated between
	 * devices prior to remote commands being transmitted. If the device is not
	 * in "Remote" status, external commands will be ignored.
	 * 
	 * 一个设备可以自主工作或它可以由另一个系统控制。设备的控制状态设备之间正在传输的远程命令之前必须通报。如果该设备是不是在“远程”状态，
	 * 外部命令将被忽略。
	 * 
	 * 
	 * Examples:
	 * 
	 * Local, remote
	 * 
	 * 本地，远程
	 */
	private CD localRemoteControlStateCode;
	/**
	 * Definition: The current functional status of an automated device.
	 * 
	 * 当前功能状态的自动化设备。
	 * 
	 * 
	 * UsageNotes:
	 * 
	 * The value of the attribute is determined by the device.
	 * 
	 * 该属性的值是由设备决定。
	 * 
	 * 
	 * Examples:
	 * 
	 * Normal, warning, critical
	 * 
	 * 正常，预警，关键
	 */
	private CD alertLevelCode;
	/**
	 * Definition: The date and time the device was last calibrated.
	 * 
	 * 上次校准的日期和时间的设备。
	 * 
	 * Rationale:
	 * 
	 * Devices are required to be recalibrated at specific intervals to ensure
	 * they are performing within specifications. The accepted interval between
	 * calibrations varies with protocols. Thus for results to be valid, the
	 * precise date and time of last calibration is a critical component.
	 * 
	 * 设备都需要重新调整，要在特定的时间间隔，以确保它们在规定范围内执行。之间公认的校准间隔随协议。这样的结果是有效的，
	 * 上次校准的确切日期和时间是一个关键组成部分。
	 */
	private TS lastCalibrationTime;
	public SC getManufacturerModelName() {
		return manufacturerModelName;
	}
	public void setManufacturerModelName(SC manufacturerModelName) {
		this.manufacturerModelName = manufacturerModelName;
	}
	public SC getSoftwareName() {
		return softwareName;
	}
	public void setSoftwareName(SC softwareName) {
		this.softwareName = softwareName;
	}
	public CD getLocalRemoteControlStateCode() {
		return localRemoteControlStateCode;
	}
	public void setLocalRemoteControlStateCode(CD localRemoteControlStateCode) {
		this.localRemoteControlStateCode = localRemoteControlStateCode;
	}
	public CD getAlertLevelCode() {
		return alertLevelCode;
	}
	public void setAlertLevelCode(CD alertLevelCode) {
		this.alertLevelCode = alertLevelCode;
	}
	public TS getLastCalibrationTime() {
		return lastCalibrationTime;
	}
	public void setLastCalibrationTime(TS lastCalibrationTime) {
		this.lastCalibrationTime = lastCalibrationTime;
	}
	
	

}
